package main

import (
	_case "dY3/case"
	"fmt"
)

func main() {
	fmt.Println(_case.SumCase(10, 20))
	a := 10
	b := 20
	_case.ReferenceCase(a, &b)
	fmt.Println(a, b)

	fmt.Println(_case.G)
	_case.ScopeCase(a, b)
	fmt.Println(_case.G)

	user := _case.NewUser("wangxud", 11)
	fmt.Println(user.Name)
	fmt.Println(user.GetName())
	fmt.Println(user.Age)
	fmt.Println(user.GetAge())

}
